import { defHttp } from '/@/utils/http/axios';

enum Api {
  list = '/banck/businessReport/naturalTrafficReport',
  importExcel = '/channelReport/channelReport/importExcel',
  exportXls = '/banck/businessReport/naturalTrafficReportExcel',
}

/**
 * 导出api
 * @param params
 */
export const getExportUrl = Api.exportXls;

/**
 * 导入api
 */

/**
 * 列表接口
 * @param params CHECKING
 */
export const list = (params) => {
  // return Promise.resolve(mockData);
  return defHttp.post({ url: Api.list, params });
};
